Here’s how to use exists() function.exist, file object
Description: Open a specified directory and return an HDFS file flow. Syntax: hdfs_file(hd,file:cs ) Note: The external specified directory, hdfs file flow, file object
Here’s how to use write() function.string, sequence, file object, binary data